package com.freelancer.musicinstruction.beans.youtube;

import com.freelancer.musicinstruction.beans.interfaces.MusicInstruction;

public class YoutubeVideo implements MusicInstruction{
	
	private String videoID;
	
	private String publishDate;
	
	private String videoTitle;
	
	private String videoLink;
	
	private String commentFeedUrl;
	
	private String commentCounter;
	
	private String videoDescription;
	
	private String thumbnailURL;
	
	private String thumbnailWidth;
	
	private String thumbnailHeight;
	
	private String videoLength;
	
	private String videoUploadDate;
	
	private String videoRating;
	
	private String videoRatersCount;
	
	private String videoFavoriteCount;
	
	private String videoViewCount;
	
	private String videoUploader;

	
	public String getVideoID() {
		return videoID;
	}

	public void setVideoID(String videoID) {
		this.videoID = videoID;
	}

	public String getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(String publishDate) {
		this.publishDate = publishDate;
	}

	public String getVideoTitle() {
		return videoTitle;
	}

	public void setVideoTitle(String videoTitle) {
		this.videoTitle = videoTitle;
	}

	public String getVideoLink() {
		return videoLink;
	}

	public void setVideoLink(String videoLink) {
		this.videoLink = videoLink;
	}

	public String getCommentFeedUrl() {
		return commentFeedUrl;
	}

	public void setCommentFeedUrl(String commentFeedUrl) {
		this.commentFeedUrl = commentFeedUrl;
	}

	public String getCommentCounter() {
		return commentCounter;
	}

	public void setCommentCounter(String commentCounter) {
		this.commentCounter = commentCounter;
	}

	public String getVideoDescription() {
		return videoDescription;
	}

	public void setVideoDescription(String videoDescription) {
		this.videoDescription = videoDescription;
	}

	public String getThumbnailURL() {
		return thumbnailURL;
	}

	public void setThumbnailURL(String thumbnailURL) {
		this.thumbnailURL = thumbnailURL;
	}

	public String getThumbnailWidth() {
		return thumbnailWidth;
	}

	public void setThumbnailWidth(String thumbnailWidth) {
		this.thumbnailWidth = thumbnailWidth;
	}

	public String getThumbnailHeight() {
		return thumbnailHeight;
	}

	public void setThumbnailHeight(String thumbnailHeight) {
		this.thumbnailHeight = thumbnailHeight;
	}

	public String getVideoLength() {
		return videoLength;
	}

	public void setVideoLength(String videoLength) {
		this.videoLength = videoLength;
	}

	public String getVideoUploadDate() {
		return videoUploadDate;
	}

	public void setVideoUploadDate(String videoUploadDate) {
		this.videoUploadDate = videoUploadDate;
	}

	public String getVideoRating() {
		return videoRating;
	}

	public void setVideoRating(String rating) {
		
		if( rating != null ){
			if( rating.length() > 4){
				videoRating = rating.substring(0, 4);
			}
			else{
				videoRating = rating;
			}
		}
		else{
			videoRating = "0.00";
		}
		
	}

	public String getVideoRatersCount() {
		return videoRatersCount;
	}

	public void setVideoRatersCount(String videoRatersCount) {
		this.videoRatersCount = videoRatersCount;
	}

	public String getVideoFavoriteCount() {
		return videoFavoriteCount;
	}

	public void setVideoFavoriteCount(String videoFavoriteCount) {
		this.videoFavoriteCount = videoFavoriteCount;
	}

	public String getVideoViewCount() {
		return videoViewCount;
	}

	public void setVideoViewCount(String videoViewCount) {
		this.videoViewCount = videoViewCount;
	}

	public String getVideoUploader() {
		return videoUploader;
	}

	public void setVideoUploader(String videoUploader) {
		this.videoUploader = videoUploader;
	}
}
